<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>首页</title>
</head>
<body>
    <a href="{{ url_for('error1') }}">异常捕获1</a>
    <a href="{{ url_for('error2') }}">异常捕获2</a>
</body>
</html>